<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title></title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }

    html,
    body {
      width: 100%;
      height: 100%;
    }

    video {
      width: 100%;
      height: 100%;
      vertical-align: top;
    }
  </style>

</head>

<body>
<video id="hVideo" src="" width="100%" height="100%" poster="" autoplay controls playsInline webkit-playsinline>
</video>
<script src="/page/ezuikit.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
  let str = window.location.search.substr(5)
  $("#hVideo").attr('src',str);
  // 开始初始化直播源地址
  setTimeout(() => {
    let player = new EZUIKit.EZUIPlayer({
      id: 'hVideo'
    });
    // 播放
    player.play()
    // setTimeout(() => {
    //   player.pause()
    //   player.load()
    // }, 100)
  },500)

  // 结束
  // player.stop();
</script>
</body>

</html>
